package aoe;
//AOE网络
public class AOE {
    //顶点数目
    private final int V;
    //边数目
    private int E;
    //邻接表
    private Bag<Integer>[] adj;
    
    
    public AOE(int V){
        this.V = V;
        this.E = 0;
        adj = (Bag<Integer>[])new Bag[V];
        for(int v = 0; v<V; v++)
            adj[v] = new Bag<>();
    }
    
    public AOE(In in){
        this(in.readInt());
        int E = in.readInt();
        for(int i=0; i<E; i++){
            int v = in.readInt();
            int w = in.readInt();
            addEdge(v,w);
         
        }    
    }
        
    public void addEdge(int v, int w){
        
    }
    
    
}
